package com.flitsneak.designpatterns.behavioralpatterns.visitor.concreteelement;

import com.flitsneak.designpatterns.behavioralpatterns.visitor.Beauty;
import com.flitsneak.designpatterns.behavioralpatterns.visitor.LickDog;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/20 11:34
 * @description 特点喜欢养鱼
 */
public class FishPondBeauty extends Beauty {
    private static final String FEATURE = "喜欢养鱼";
    @Override
    public void accept(LickDog lickDog) {
        this.setFeature(FEATURE);
        lickDog.visit(this);
    }
}
